home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2004-01-27 | 963 b | 39 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="5"
- "COUNT"="1"
- "UIPATH 1"="Program Options\Microsoft Office\MS Office 2003\Publisher"
- "NAME"="Clear Recent File List"
- "VERSION"="1.00"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Clear recent file list"
- "DESCRIPTION 1"="If you do not want that other people can see the items you have opened, click the button."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com/"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
- sP="HKCU\Software\Microsoft\Office\11.0\Publisher\Recent File List\"
-
- Sub Plugin_Initialize
- If RegPathExists(sP)=false then
- Disable()
- end if
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- if ElementIndex=1 then
- i=RegEnumValues(sP)
- for l=1 to i
- s=RegEnumElement(l)
- Call RegDeleteValue(sP & s)
- next
-
- Call MsgInformation("Cleared!")
- end if
-
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-